package com.lifupeng.learn.alibaba.cloud.common.feign;

import com.lifupeng.learn.alibaba.cloud.common.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Description TODO
 * @Author FuPeng Li
 * @Date 2021/8/12
 **/
@FeignClient("learn-alibaba-cloud-order")
public interface OrderFeign {

    @PostMapping("/test")
    Result test(@RequestBody String id);
}
